package org.hughie.common;

public class SyncConfig {
    private String sourceDb;
    private String targetDb;
    private String tableName;
    private String condition;
    private int threadCount = 4;
    private static String configFilePath = "E:\\project\\data-sync-tool\\src\\main\\resources\\db_config.properties";

    public String getSourceDb() { return sourceDb; }
    public void setSourceDb(String sourceDb) { this.sourceDb = sourceDb; }

    public String getTargetDb() { return targetDb; }
    public void setTargetDb(String targetDb) { this.targetDb = targetDb; }

    public String getTableName() { return tableName; }
    public void setTableName(String tableName) { this.tableName = tableName; }

    public String getCondition() { return condition; }
    public void setCondition(String condition) { this.condition = condition; }

    public int getThreadCount() { return threadCount; }
    public void setThreadCount(int threadCount) { this.threadCount = threadCount; }

    public static String getConfigFilePath() { return configFilePath; }
    public static void setConfigFilePath(String path) { configFilePath = path; }
}
